<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<?php
$result = mysqli_query(initConn(),'SELECT * FROM  siteInfo');
$siteInfo = new siteInfo();
while ($row = mysqli_fetch_row($result)) {
    $siteInfo->setSiteTitle($row[0]);
    $siteInfo->setSiteTitle_sub($row[1]);
    $siteInfo->setSiteUrl($row[2]);
    $siteInfo->setWebmaster_email($row[3]);
    $siteInfo->setWebmaster_name($row[4]);
}
$_SESSION['siteinfo'] = $siteInfo;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><?php echo $siteInfo->getSiteTitle();?></title>
        <link rel="stylesheet" type="text/css" href="css/css.css" />
        <script src="https://www.google.com/jsapi?key=ABQIAAAABnml-KpkpvJ_5QzcMKWD5BQKVIbUlw1amSBUXKpzarfUZOaiwRQur4YMxMkkwRyrdu8IiXqMeUETMg" type="text/javascript"></script>
        <script type="text/javascript">
            google.load("jquery", "1.4.4");
        </script>
    </head>
    <body>
        <div id="header">
        <?php
            echo "this is header";
            echo "<br/>";
        ?>
        </div>
